import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueResource from 'vue-resource'
Vue.use(VueResource)

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import infiniteScroll from 'vue-infinite-scroll'
Vue.use(infiniteScroll)

import './utils/lib-flexible'  // px 转 rem
import './assets/font/iconfont.css'

import api from "@/axios/api.js";
Vue.prototype.$api = api
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
